<div class="full-height full-width" fwa-layout-container data-main="true"  >
	<div fwa-layout-box="north" class="background-white normal-padding-top"  style="height: 40px;">
		<form role="form" ng-submit="onSubmit();">
			<div class="row form-group">
				<div class="col-xs-5">
					<label class="col-xs-3 control-label text-right">案发时间:</label>
					<div class="col-xs-9">
						<date-range-input class="full-width" data-type="month" data-format="yyyy-mm-dd" ng-model="form.date" >
				    	</date-range-input>
					</div>
				</div>
				<div class="col-xs-4">
					<label class="col-xs-4 control-label text-right">
						机构名称:
					</label>
					<div class="col-xs-8">
						<select-container container-data="medicalOrgInfoList" text="medicalOrgName" 
						    code="medicalOrgCode" result="form.medicalOrgInfo" 
						    data-type="false"  search-datas="['medicalOrgName','namePysr','nameWubi']" >
						</select-container>
					</div>
				</div>
				<div class="col-xs-3">
					<button type="submit" class="btn btn-blue btn-sm">查询</button>
					<button type="button" class="btn btn-blue btn-sm" ng-click="onReset();">重置</button>
				</div>
			</div>
		</form>
	</div>
	<div fwa-layout-box="center" data-padding="true" >
		<div class="full-height full-overflow-y background-white">
			<div class="col-xs-12">
				<h5><b ng-bind="form.orgName"></b></h5>
			</div>
			<div class="col-xs-12">
				<div class="col-xs-12 full-border" ng-show="warnData" style="line-height: 28px;">
					<div class="row" style="line-height: 28px;">
						<div class="col-xs-3">
							<span ng-click="expand();" class="glyphicon" ng-class="{'glyphicon-plus': !nodesShow, 'glyphicon-minus': nodesShow}">
							</span>
							<span >
								预警次数：
							</span>
						</div>
						<div class="col-xs-3">
							<a ng-click="queryWarn();">
								<span ng-bind="warnData.num"></span>次
							</a>
						</div>
						<div class="col-xs-3">
							涉及金额：
						</div>
						<div class="col-xs-3">
							<span ng-bind="warnData.money"></span>元
						</div>
					</div>
					<div class="row" ng-show="nodesShow" style="line-height: 28px;border-top: #d1d1d1 1px solid;" ng-repeat="data  in warnData.list">
						<div class="col-xs-3 ">
							<span ng-bind="data.name" style="margin-left: 30px;">
							</span>：
						</div>
						<div class="col-xs-3">
							<a ng-click="queryWarn(data.code);">
								<span ng-bind="data.num"></span>次
							</a>
						</div>
						<div class="col-xs-3">
							涉及金额：
						</div>
						<div class="col-xs-3">
							<span>
								<span ng-bind="data.money"></span>元
							</span>
						</div>
					</div>
				</div>
				<div class="col-xs-12 full-border" ng-show="auditData" style="line-height: 28px;border-top: none;">
					<div class="row" style="line-height: 28px;">
						<div class="col-xs-3">
							<span style="margin-left: 16px;">
								稽核次数：
							</span>
						</div>
						<div class="col-xs-3">
							<a ng-click="queryAudit();">
								<span ng-bind="auditData.num"></span>次
							</a>
						</div>
						<div class="col-xs-3">
							涉及金额：
						</div>
						<div class="col-xs-3">
							<span ng-bind="auditData.money"></span>元
						</div>
					</div>
				</div>
				<div class="col-xs-12 full-border" ng-show="illegalWorkers" style="line-height: 28px;border-top: none;">
					<div class="row" style="line-height: 28px;">
						<div class="col-xs-3">
							<span style="margin-left: 16px;">
								违规人员：
							</span>
						</div>
						<div class="col-xs-3">
							<a>
								<span ng-bind="illegalWorkers.num"></span>人次
							</a>
						</div>
						<div class="col-xs-3">
							其中一次记12分有：
						</div>
						<div class="col-xs-3">
							<a>
								<span ng-bind="illegalWorkers.personNum"></span>人次
							</a>
						</div>
					</div>
				</div>
			</div>
			<div class="col-xs-12" style="margin-top: 20px;">
				<h5 ng-show="form.orgName"><b>FWA审核情况</b></h5>
			</div>
			<div class="col-xs-12" ng-show="form.orgName" style="height: 100px;margin-bottom: 10px;">
				<div class="col-xs-4 full-height" ng-repeat="rule in rules" >
					<div class="col-xs-11 full-border full-height cursor-pointer" ng-class="{'div-mouse':rule.mouse}" ng-mouseenter="mouseenter(rule);" ng-mouseleave="mouseleave(rule);" >
						<div class="col-xs-12" style="line-height: 28px;">
							<span class="conclusion_suspicious" ng-show="rule.result=='10001'">●</span> 
							<span class="conclusion_height" ng-show="rule.result=='10002'">●</span>
							<span class="conclusion_illegal" ng-show="rule.result=='20001'">●</span>
							<span ng-bind="rule.name"></span>
						</div>
						<div class="col-xs-12" style="line-height: 28px;">
							<span>单击数:</span>
							<span ng-bind="rule.num"></span> /条
						</div>
						<div class="col-xs-12" style="line-height: 28px;">
							<span>涉及金额：</span>
							<span ng-bind="rule.money"></span> /元
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div fwa-layout-box="south" data-padding="true"  style="height: 50px;">
		<div class="col-xs-12 full-height normal-padding-top text-center background-white">
			<button type="button" class="btn btn-blue btn-xs" ng-click="exportOrgIllegalToCsv();" >
		  		导出
		  	</button>
		</div>
	</div>
</div>
<fwa-loading data-show="loading">
	加载中...
</fwa-loading>
